package com.hxkj.domain.po;

import java.io.Serializable;
import java.util.Objects;

/**
* 
*
* @author: chenwei
* @version: 1.0
* @datetime: 2018-06-06 19:12:53
*/
public class TagsClassify  implements Serializable {


    private static final long serialVersionUID = 4273735009110675446L;
    // 标签分类ID
    private Long tagsClassifyId;
    // 标签分类名称
    private String classifyName;
    // 创建时间
    private Long createTime;
    // 更新时间
    private Long updateTime;
    // 标识
    private Byte delTag;
    // 标签分类状态
    private Long tagsClassifyStatus;
    // 标签分类属性
    private String tagsClassifyType;
    //站点ID
    private Long siteId;

    //关键字模糊查询
    private String keyword;
    // 标签分类ID字符串
    private String tagsClassifyIds;

    public String getClassifyName() {
    return classifyName;
    }

    public void setClassifyName(String classifyName) {
    this.classifyName = classifyName;
    }

    public Long getCreateTime() {
    return createTime;
    }

    public void setCreateTime(Long createTime) {
    this.createTime = createTime;
    }

    public Long getUpdateTime() {
    return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
    this.updateTime = updateTime;
    }

    public Byte getDelTag() {
    return delTag;
    }

    public void setDelTag(Byte delTag) {
    this.delTag = delTag;
    }

    public Long getTagsClassifyStatus() {
    return tagsClassifyStatus;
    }

    public void setTagsClassifyStatus(Long tagsClassifyStatus) {
    this.tagsClassifyStatus = tagsClassifyStatus;
    }

    public String getTagsClassifyType() {
    return tagsClassifyType;
    }

    public void setTagsClassifyType(String tagsClassifyType) {
    this.tagsClassifyType = tagsClassifyType;
    }

    public Long getTagsClassifyId() {
    return tagsClassifyId;
    }

    public void setTagsClassifyId(Long tagsClassifyId) {
    this.tagsClassifyId = tagsClassifyId;
    }

    public Long getSiteId() {
        return siteId;
    }

    public void setSiteId(Long siteId) {
        this.siteId = siteId;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getTagsClassifyIds() {
        return tagsClassifyIds;
    }

    public void setTagsClassifyIds(String tagsClassifyIds) {
        this.tagsClassifyIds = tagsClassifyIds;
    }

    @Override
    public String toString() {
        return "TagsClassify{" +
                "tagsClassifyId=" + tagsClassifyId +
                ", classifyName='" + classifyName + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", delTag=" + delTag +
                ", tagsClassifyStatus=" + tagsClassifyStatus +
                ", tagsClassifyType='" + tagsClassifyType + '\'' +
                ", siteId=" + siteId +
                ", keyword='" + keyword + '\'' +
                ", tagsClassifyIds='" + tagsClassifyIds + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof TagsClassify)) return false;
        TagsClassify that = (TagsClassify) o;
        return Objects.equals(getTagsClassifyId(), that.getTagsClassifyId()) &&
                Objects.equals(getClassifyName(), that.getClassifyName()) &&
                Objects.equals(getCreateTime(), that.getCreateTime()) &&
                Objects.equals(getUpdateTime(), that.getUpdateTime()) &&
                Objects.equals(getDelTag(), that.getDelTag()) &&
                Objects.equals(getTagsClassifyStatus(), that.getTagsClassifyStatus()) &&
                Objects.equals(getTagsClassifyType(), that.getTagsClassifyType()) &&
                Objects.equals(getSiteId(), that.getSiteId()) &&
                Objects.equals(getKeyword(), that.getKeyword()) &&
                Objects.equals(getTagsClassifyIds(), that.getTagsClassifyIds());
    }

    @Override
    public int hashCode() {

        return Objects.hash(getTagsClassifyId(), getClassifyName(), getCreateTime(), getUpdateTime(), getDelTag(), getTagsClassifyStatus(), getTagsClassifyType(), getSiteId(), getKeyword(), getTagsClassifyIds());
    }
}
